package com.lhj.bootdemo.designmode.factory.framework;

/**
 * @author lhj
 * @version 1.0
 * @date 2022/5/10 4:25 下午
 * @description:
 */

public class Factory2 {

    public Product creatProduct(String name) throws Exception {
        System.out.println("没有实现creatProduct（）方法");
        throw new Exception();
    }
}
